package com.wt.chat.service.impl;


import com.wt.chat.entity.Kefu;
import com.wt.chat.mapper.KefuMapper;
import com.wt.chat.service.KefuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @description
 * @author: wangtao
 * @date:10:55 2019/6/4
 * @email:386427665@qq.com
 */
@Service
public class KefuServiceImpl implements KefuService {

    @Autowired
    private KefuMapper kefuMapper;

	@Override
	public Kefu findById(Integer userId) {
		return kefuMapper.selectByPrimaryKey(userId);
	}

}
